<template>
  <div>
    <p>父组件</p>
    <Zi 
      @ziEmitsFu="fuReceive"
      @getReturn="getReturn"
    ></Zi>
    <p>父组件接受到了子组件的值：{{msg}}</p>
  </div>
</template>

<script setup>
import Zi from './Zi2.vue'
import {ref} from 'vue'

const msg = ref('')

function fuReceive(val){
  msg.value = val
}

const getReturn = () => {
  debugger
  return 1000
}

</script>